// 复数类型
package main

import "fmt"

var cNum complex128 = complex(1, 2)

func main() {
	fmt.Println(add(cNum))
}

func add(cNum complex128) complex128 {
	cNum += cNum
	return cNum
}